<template>
  <div class="today" @click.prevent="open">
    <img :src="icon" alt="点击绑定今日校园" />
    <div>今日校园</div>
  </div>
</template>
<script>
import { findComponentUpward } from "@/libs/assist";
export default {
  name: "Today",
  data() {
    return {
      icon: require("@/assets/img/icon_today.png")
    };
  },

  methods: {
    open() {
      location.replace(
        `/iap/cpdailyLogin?lt=${
          findComponentUpward(this, "Home").securityConfig._lt
        }`
      );
    }
  }
};
</script>
<style lang="stylus" scoped>
@import './public.styl'
</style>